package Grantsfire::Schema::Tag;

use strict;
use warnings;

use base 'DBIx::Class';

__PACKAGE__->load_components("Timestamper", "Core");
__PACKAGE__->table("tag");
__PACKAGE__->add_columns(
  "id",
  { data_type => "INT", default_value => undef, is_nullable => 0, size => 11 },
  "created",
  {
    data_type => "DATETIME",
    default_value => undef,
    is_nullable => 1,
    size => 19,
  },
  "tag",
  {
    data_type => "VARCHAR",
    default_value => undef,
    is_nullable => 1,
    size => 250,
  },
);
__PACKAGE__->set_primary_key("id");
__PACKAGE__->has_many(
  "entry_tags",
  "Grantsfire::Schema::EntryTag",
  { "foreign.tag" => "self.id" },
);
__PACKAGE__->has_many(
  "old_entry_tags",
  "Grantsfire::Schema::OldEntryTag",
  { "foreign.tag" => "self.id" },
);


# Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-05-12 22:27:20
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p3rFEiq+Fhl++MwS6QN8Vg
# These lines were loaded from '/Users/cwest/Documents/Clients/GrantsFire/src/trunk/lib/Grantsfire/Schema/Tag.pm' found in @INC.# They are now part of the custom portion of this file# for you to hand-edit.  If you do not either delete# this section or remove that file from @INC, this section# will be repeated redundantly when you re-create this# file again via Loader!
package Grantsfire::Schema::Tag;

use strict;
use warnings;
use base qw/DBIx::Class/;

__PACKAGE__->many_to_many(entries => 'entry_tags', 'entry');

1;
# End of lines loaded from '/Users/cwest/Documents/Clients/GrantsFire/src/trunk/lib/Grantsfire/Schema/Tag.pm' 


# You can replace this text with custom content, and it will be preserved on regeneration
1;
